﻿using OA.Model.MyAttribute;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OA.Model.Config
{
    public class SiteConfig
    {
        [Display(Name = "网站Logo")]
        [Tag(TagEnum.SingleImageUpload, "required", "Logo", 0, 100)]
        public string Logo { get; set; }

        /// <summary>
        /// Name
        /// </summary>
        [Tag(TagEnum.Text, "required", "网站名称", 0, 100)]
        public string Name { get; set; }

        /// <summary>
        /// Icp
        /// </summary>
        [Tag(TagEnum.Text, "required", "Icp备案号", 0, 100)]
        public string Icp { get; set; }



        /// <summary>
        /// 过期日期
        /// </summary>
        [Tag(TagEnum.Text, "required", "过期日期", "")]
        public string ExpireDateMd5 { get; set; }

        /// <summary>
        /// 微信AppID
        /// </summary>
        [Display(Name = "AppID")]
        [Tag(TagEnum.Text, "required", "AppID", "")]
        public string AppID { get; set; }


        /// <summary>
        /// 微信Secret
        /// </summary>
        [Display(Name = "Secret")]
        [Tag(TagEnum.Text, "required", "Secret", "")]
        public string Secret { get; set; }

        [Display(Name = "AccessToken")]
        [Tag(TagEnum.Text, "required", "企业微信应用的access_token", "")]
        public string AccessToken { get; set; }
    }
}
